package JavaSEAdvance.day01_extends.d017_homework03;

/**
 * @author Xiao
 * @date 2021/7/15
 */
public class Test {
    public static void main(String[] args) {
        Programmer p = new Programmer("itheima007","阿良",24);
        Manager m = new Manager("heima123","文圣",88);
        System.out.println(p.toString());
        p.sendMessage();
        System.out.println("---------");
        System.out.println(m.toString());
        m.sendMessage();
    }
}
